package com.hospital.hospitalserver.entity.Vo;

import com.hospital.hospitalserver.entity.ExamOrderItemDTO;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 检查项目主表实体类
 * 用于响应
 * */
@Data
public class ExamOrderVO {
    private Integer order_id; //检查申请ID
    private String order_no; //检查申请单号
    private Integer visit_id; //就诊记录ID
    private String visit_number; // appointment_id
    private String patient_name; //患者姓名
    private Integer patient_age; //患者年龄
    private String patient_gender; //患者性别
    private String id_number; //身份证号
    private Integer doctor_id; //申请医生ID
    private String doctor_name; //申请医生姓名
    private Integer department_id; //申请科室ID
    private String department_name; //申请科室名称
    private String clinical_diagnosis; //临床诊断
    private String exam_requirements; //检查要求
    private BigDecimal total_fee; //总费用
    private String order_status; //申请状态: created已开具, paid已缴费, confirmed已确认, in_progress检查中, completed检查完成, reported已出报告, cancelled已取消
    private String payment_status; //缴费状态: pending待缴费, paid已缴费, refunded已退款
    private LocalDateTime apply_time; //申请时间
    List<ExamOrderItemVO> order_items;
}
